#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Models.Marketmodels;
using Cephei.QL;
using Cephei.QL.Models.Marketmodels.Products;
namespace Cephei.QL.Models.Marketmodels.Products.Multistep
{
     
    [Guid ("36E712F4-5771-4b66-AD9C-97B6EA41F94B"),ComVisible(true)]
	public interface IMultiStepOptionlets : Cephei.QL.Models.Marketmodels.Products.IMultiProductMultiStep
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean NextTimeStep(Cephei.QL.Models.Marketmodels.ICurveState currentState, Cephei.IVector<UInt64> numberCashFlowsThisStep, Cephei.IMatrix<Cephei.QL.Models.Marketmodels.IMarketModelMultiProductCashFlow> cashFlowsGenerated);
        
		 UInt64 MaxNumberOfCashFlowsPerProductPerStep {get;}
        
		 UInt64 NumberOfProducts {get;}
        
		 Cephei.IVector<Double> PossibleCashFlowTimes {get;}
        
		 IMultiStepOptionlets Reset {get;}
    }

    // <summary> 
	//  Factory
	// </summary>
   	[ComVisible(true)]
    public interface IMultiStepOptionlets_Factory // : Collection_Factory<IMultiStepOptionlets, ICell<IMultiStepOptionlets>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IMultiStepOptionlets Create (Cephei.IVector<Double> rateTimes, Cephei.IVector<Double> accruals, Cephei.IVector<Double> paymentTimes, Cephei.IVector<Cephei.QL.IPayoff> payoffs);
    }
}

